package com.iraytek.rtspdemo;

import android.content.Context;

import com.iraytek.gles.ImageCallback;
import com.iraytek.rtsplib.ServerEncodeManager;

import pedro.rtsp.utils.ConnectCheckerRtsp;

/**
 * created by yhy on 2021/9/7
 */
public class RtspEncodeManager extends ServerEncodeManager implements ImageCallback<byte[]> {
    public RtspEncodeManager(Context context, int port, ConnectCheckerRtsp checkerRtsp) {
        super(context, port, checkerRtsp);
    }


    @Override
    public void onImagePixesChange(byte[] data, int w, int h) {
        onDataChange(data);
    }
}
